package com.competition.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "receipt_info")
public class ReceiptInfo {

    @Id
    @Column(name = "receipt_id")
    private String receiptId;

    @Column(name = "user_id")
    private String userId;

    @Column(name = "receipt_name")
    private String receiptName;

    @Column(name = "receipt_phone")
    private String receiptPhone;

    @Column(name = "receipt_area")
    private String receiptArea;

    @Column(name = "receipt_address_detail")
    private String receiptAddressDetail;

    @Column(name = "receipt_ischecked")
    private String receiptIschecked;

    @Column(name = "receipt_label")
    private String receiptLabel;

    @Column(name = "receipt_city")
    private String receiptCity;

    @Column(name = "receipt_province")
    private String receiptProvince;
}
